package puzzle3;

public class Puzzle3 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		double a = 1.0;
		double b = 0.9;
		double c = a - b;
		System.out.println("  a is " + a + " and b is " + b );
		System.out.println("  a - b is " + c );

		double d = 0.1;
		System.out.println("      d is " + d );
		if (c == d)
			System.out.println(" (1.0 - 0.9) == 0.1");
		else
			System.out.println(" (1.0 - 0.9) != 0.1");
	}

}
